package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.TCdgnwzdsjMapper;
import com.ruoyi.system.domain.TCdgnwzdsj;
import com.ruoyi.system.service.ITCdgnwzdsjService;

/**
 * 承担国内外重大设计与展演任务Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
@Service
public class TCdgnwzdsjServiceImpl implements ITCdgnwzdsjService 
{
    @Autowired
    private TCdgnwzdsjMapper tCdgnwzdsjMapper;

    /**
     * 查询承担国内外重大设计与展演任务
     * 
     * @param id 承担国内外重大设计与展演任务主键
     * @return 承担国内外重大设计与展演任务
     */
    @Override
    public TCdgnwzdsj selectTCdgnwzdsjById(Long id)
    {
        return tCdgnwzdsjMapper.selectTCdgnwzdsjById(id);
    }

    /**
     * 查询承担国内外重大设计与展演任务列表
     * 
     * @param tCdgnwzdsj 承担国内外重大设计与展演任务
     * @return 承担国内外重大设计与展演任务
     */
    @Override
    public List<TCdgnwzdsj> selectTCdgnwzdsjList(TCdgnwzdsj tCdgnwzdsj)
    {
        return tCdgnwzdsjMapper.selectTCdgnwzdsjList(tCdgnwzdsj);
    }

    /**
     * 新增承担国内外重大设计与展演任务
     * 
     * @param tCdgnwzdsj 承担国内外重大设计与展演任务
     * @return 结果
     */
    @Override
    public int insertTCdgnwzdsj(TCdgnwzdsj tCdgnwzdsj)
    {
        return tCdgnwzdsjMapper.insertTCdgnwzdsj(tCdgnwzdsj);
    }

    /**
     * 修改承担国内外重大设计与展演任务
     * 
     * @param tCdgnwzdsj 承担国内外重大设计与展演任务
     * @return 结果
     */
    @Override
    public int updateTCdgnwzdsj(TCdgnwzdsj tCdgnwzdsj)
    {
        return tCdgnwzdsjMapper.updateTCdgnwzdsj(tCdgnwzdsj);
    }

    /**
     * 批量删除承担国内外重大设计与展演任务
     * 
     * @param ids 需要删除的承担国内外重大设计与展演任务主键
     * @return 结果
     */
    @Override
    public int deleteTCdgnwzdsjByIds(Long[] ids)
    {
        return tCdgnwzdsjMapper.deleteTCdgnwzdsjByIds(ids);
    }

    /**
     * 删除承担国内外重大设计与展演任务信息
     * 
     * @param id 承担国内外重大设计与展演任务主键
     * @return 结果
     */
    @Override
    public int deleteTCdgnwzdsjById(Long id)
    {
        return tCdgnwzdsjMapper.deleteTCdgnwzdsjById(id);
    }
}
